package com.aos.erp.message.model;

import java.io.Serializable;
import java.util.Date;

import com.aos.erp.message.enums.DelStatus;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel("消息模板参数项配置")
@TableName("t_mt_param")
public class MTParamInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	
    //参数项ID
    @TableId(value = "id", type = IdType.INPUT)
    private long id;

    //参数项
    @ApiModelProperty("参数项")
    @TableField("mtp_item")
    private String mtpItem;

    //参数项描述
    @ApiModelProperty("参数项描述")
    @TableField("mtp_desc")
    private String mtpDesc;

    //是否删除： -1为删除；0为默认
    @ApiModelProperty("是否删除： -1为删除；0为默认")
    @TableField("is_del")
    private DelStatus isDel;

    //创建人
    @ApiModelProperty("创建人")
    @TableField("create_user")
    private String createUser;

    //创建时间
    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    //修改人
    @ApiModelProperty("修改人")
    @TableField("update_user")
    private String updateUser;

    //修改时间
    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private Date updateTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getMtpItem() {
        return mtpItem;
    }

    public void setMtpItem(String mtpItem) {
        this.mtpItem = mtpItem;
    }

    public String getMtpDesc() {
        return mtpDesc;
    }

    public void setMtpDesc(String mtpDesc) {
        this.mtpDesc = mtpDesc;
    }

    public DelStatus getIsDel() {
        return isDel;
    }

    public String getIsDelString() {
        return isDel.getDesc();
    }

    public void setIsDel(DelStatus isDel) {
        this.isDel = isDel;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
